package com.atguigu.springcloud.dao;

import com.atguigu.springcloud.entities.Dept;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by luojie on 2018/9/5.
 */
public interface DeptRepository extends JpaRepository<Dept, String> {

    Dept findByDname(String dname);
}
